//
// Created by hps on 24-4-19.
//

#ifndef CHOOSEORCANCELBUTTON_H
#define CHOOSEORCANCELBUTTON_H

#include "HeadFiles.h"

namespace hps {

class ChooseOrCancelButton: public QWidget {
Q_OBJECT
public:
    ChooseOrCancelButton();
    void init();
    void setUi();
    QPushButton* getOKButton() const { return m_okButton; }
    QPushButton* getCanselButton() const { return m_canselButton; }
private:
    QHBoxLayout *m_layout;
    QPushButton *m_okButton;
    QPushButton *m_canselButton;
};

} // hps

#endif //CHOOSEORCANCELBUTTON_H
